Repository navigation
chore: 补齐 strict 模式的 PR CI 门禁(validate) - #3
Merged
Merged
Conversation
补齐团队 2026-11-03 立规的 strict 模式 PR CI 三件套: - 新增 .github/workflows/validate.yml(PR + 默认分支 push 触发) - 新增 .github/scripts/validate.py(仓库卫生 + 语法检查) 分支保护的 required check 将在 PR 合并后挂上。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为什么
用户 2026-11-03 立规:新建仓库一律必须 strict 模式的 PR CI;并要求存量不合规仓库统一执行最新标准。
本仓库此前在 PR 上没有门禁,改动合进 main 全靠人工把关。
改了什么
.github/workflows/validate.yml(PR 与 main push 触发,检查名validate).github/scripts/validate.py(必备文件 / 敏感文件 / 大文件 / README 相对链接 / Python·Shell 语法)后续
本 PR 合并后,会给 main 分支保护挂上 required check
validate并设strict = true。